package create_pattern.builder_pattern;

import lombok.extern.slf4j.Slf4j;

/**
 * @author fly
 * @data 2022-04-12
 * 构建者模式：具体构建产品完整页面
 */
@Slf4j
public class FullPage extends PageBuilder{

    @Override
    public void buildMenu() {
        page.setMenu("窗口");
    }

    @Override
    public void buildPlaylist() {
        page.setPlaylist("展示列表");
    }

    @Override
    public void buildMainWindow() {
        page.setMainWindow("窗口");
    }

    @Override
    public void buildControlBar() {
        page.setControlBar("控制条");
    }
}